﻿using System;

namespace Common
{
    public interface I_IO_Card
    {
        bool isOpen { get; set; }
        event Action<ushort> TrigEvent;
        void AddSubscriber(Action<ushort> method);
        uint Read();
        bool ReadBit(uint nBit);
        void Start();
        void Stop();
        void Write(uint Value);
        void WriteBit(int nBit, bool value);
        ushort tag { get; set; }
    }
}